<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Agile Modbus: TCP Private Constants</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Agile Modbus
   &#160;<span id="projectnumber">1.1.4</span>
   </div>
   <div id="projectbrief">Lightweight modbus protocol stack.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group___t_c_p___private___constants.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">TCP Private Constants<div class="ingroups"><a class="el" href="group___t_c_p.html">TCP</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for TCP Private Constants:</div>
<div class="dyncontent">
<div class="center"><img src="group___t_c_p___private___constants.png" border="0" usemap="#agroup______t__c__p______private______constants" alt=""/></div>
<map name="agroup______t__c__p______private______constants" id="agroup______t__c__p______private______constants">
<area shape="rect" href="group___t_c_p.html" title=" " alt="" coords="5,5,52,31"/>
<area shape="rect" title=" " alt="" coords="100,5,265,31"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga9789b18d510d592bc71c6ecdd9b4a4f5"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="group___c_o_m_m_o_n___exported___types.html#ga3de0b082d8d88e159d162bcf78ef123c">agile_modbus_backend_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_c_p___private___constants.html#ga9789b18d510d592bc71c6ecdd9b4a4f5">agile_modbus_tcp_backend</a></td></tr>
<tr class="memdesc:ga9789b18d510d592bc71c6ecdd9b4a4f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">TCP backend interface.  <a href="group___t_c_p___private___constants.html#ga9789b18d510d592bc71c6ecdd9b4a4f5">More...</a><br /></td></tr>
<tr class="separator:ga9789b18d510d592bc71c6ecdd9b4a4f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ga9789b18d510d592bc71c6ecdd9b4a4f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9789b18d510d592bc71c6ecdd9b4a4f5">&#9670;&nbsp;</a></span>agile_modbus_tcp_backend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group___c_o_m_m_o_n___exported___types.html#ga3de0b082d8d88e159d162bcf78ef123c">agile_modbus_backend_t</a> agile_modbus_tcp_backend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">    {</div>
<div class="line">        <a class="code" href="group___c_o_m_m_o_n___exported___types.html#gga88d4f826eda73ae5fc071856f70683fdaf4f989f5d3eaf37ca4175e7bd6560714">AGILE_MODBUS_BACKEND_TYPE_TCP</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___exported___constants.html#gacae695692d9e813a6606a44fa36b807d">AGILE_MODBUS_TCP_HEADER_LENGTH</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___exported___constants.html#ga12e0bfa5b136035efbb03a7c2885cf8b">AGILE_MODBUS_TCP_CHECKSUM_LENGTH</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___exported___constants.html#ga8872b1fc07bcf9f2c723f5f05cded968">AGILE_MODBUS_TCP_MAX_ADU_LENGTH</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga5368e75a4d452b51ba973e5cef464752">agile_modbus_tcp_set_slave</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga83bcbff089bd342862ecaf44d9bf2e47">agile_modbus_tcp_build_request_basis</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga8fb22cc4a73e636d6bb6593d0e60f59c">agile_modbus_tcp_build_response_basis</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#gae6a11c1140ecb35f8fb1e0b69c902f9b">agile_modbus_tcp_prepare_response_tid</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga7913f7526caca2249c83436540654751">agile_modbus_tcp_send_msg_pre</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga5636ca84a4a90e5b75fc3d2476838a9d">agile_modbus_tcp_check_integrity</a>,</div>
<div class="line">        <a class="code" href="group___t_c_p___private___functions.html#ga50d4eafae8f45c41c65aaa1f8b5087c8">agile_modbus_tcp_pre_check_confirmation</a>}</div>
<div class="ttc" id="agroup___c_o_m_m_o_n___exported___types_html_gga88d4f826eda73ae5fc071856f70683fdaf4f989f5d3eaf37ca4175e7bd6560714"><div class="ttname"><a href="group___c_o_m_m_o_n___exported___types.html#gga88d4f826eda73ae5fc071856f70683fdaf4f989f5d3eaf37ca4175e7bd6560714">AGILE_MODBUS_BACKEND_TYPE_TCP</a></div><div class="ttdeci">@ AGILE_MODBUS_BACKEND_TYPE_TCP</div><div class="ttdoc">TCP.</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus_8h_source.html#l00167">agile_modbus.h:166</a></div></div>
<div class="ttc" id="agroup___t_c_p___exported___constants_html_ga12e0bfa5b136035efbb03a7c2885cf8b"><div class="ttname"><a href="group___t_c_p___exported___constants.html#ga12e0bfa5b136035efbb03a7c2885cf8b">AGILE_MODBUS_TCP_CHECKSUM_LENGTH</a></div><div class="ttdeci">#define AGILE_MODBUS_TCP_CHECKSUM_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8h_source.html#l00036">agile_modbus_tcp.h:36</a></div></div>
<div class="ttc" id="agroup___t_c_p___exported___constants_html_ga8872b1fc07bcf9f2c723f5f05cded968"><div class="ttname"><a href="group___t_c_p___exported___constants.html#ga8872b1fc07bcf9f2c723f5f05cded968">AGILE_MODBUS_TCP_MAX_ADU_LENGTH</a></div><div class="ttdeci">#define AGILE_MODBUS_TCP_MAX_ADU_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8h_source.html#l00045">agile_modbus_tcp.h:45</a></div></div>
<div class="ttc" id="agroup___t_c_p___exported___constants_html_gacae695692d9e813a6606a44fa36b807d"><div class="ttname"><a href="group___t_c_p___exported___constants.html#gacae695692d9e813a6606a44fa36b807d">AGILE_MODBUS_TCP_HEADER_LENGTH</a></div><div class="ttdeci">#define AGILE_MODBUS_TCP_HEADER_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8h_source.html#l00032">agile_modbus_tcp.h:32</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga50d4eafae8f45c41c65aaa1f8b5087c8"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga50d4eafae8f45c41c65aaa1f8b5087c8">agile_modbus_tcp_pre_check_confirmation</a></div><div class="ttdeci">static int agile_modbus_tcp_pre_check_confirmation(agile_modbus_t *ctx, const uint8_t *req, const uint8_t *rsp, int rsp_length)</div><div class="ttdoc">TCP pre-check confirmation interface (compare transaction identifier and protocol identifier)</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00159">agile_modbus_tcp.c:159</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga5368e75a4d452b51ba973e5cef464752"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga5368e75a4d452b51ba973e5cef464752">agile_modbus_tcp_set_slave</a></div><div class="ttdeci">static int agile_modbus_tcp_set_slave(agile_modbus_t *ctx, int slave)</div><div class="ttdoc">TCP set address interface.</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00034">agile_modbus_tcp.c:34</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga5636ca84a4a90e5b75fc3d2476838a9d"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga5636ca84a4a90e5b75fc3d2476838a9d">agile_modbus_tcp_check_integrity</a></div><div class="ttdeci">static int agile_modbus_tcp_check_integrity(agile_modbus_t *ctx, uint8_t *msg, const int msg_length)</div><div class="ttdoc">TCP check receiving data integrity interface.</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00144">agile_modbus_tcp.c:144</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga7913f7526caca2249c83436540654751"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga7913f7526caca2249c83436540654751">agile_modbus_tcp_send_msg_pre</a></div><div class="ttdeci">static int agile_modbus_tcp_send_msg_pre(uint8_t *req, int req_length)</div><div class="ttdoc">TCP pre-send data interface (calculate the value of the length field and store it)</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00126">agile_modbus_tcp.c:126</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga83bcbff089bd342862ecaf44d9bf2e47"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga83bcbff089bd342862ecaf44d9bf2e47">agile_modbus_tcp_build_request_basis</a></div><div class="ttdeci">static int agile_modbus_tcp_build_request_basis(agile_modbus_t *ctx, int function, int addr, int nb, uint8_t *req)</div><div class="ttdoc">TCP builds the basic request message interface (header message)</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00049">agile_modbus_tcp.c:49</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_ga8fb22cc4a73e636d6bb6593d0e60f59c"><div class="ttname"><a href="group___t_c_p___private___functions.html#ga8fb22cc4a73e636d6bb6593d0e60f59c">agile_modbus_tcp_build_response_basis</a></div><div class="ttdeci">static int agile_modbus_tcp_build_response_basis(agile_modbus_sft_t *sft, uint8_t *rsp)</div><div class="ttdoc">TCP builds a basic response message interface (header message)</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00086">agile_modbus_tcp.c:86</a></div></div>
<div class="ttc" id="agroup___t_c_p___private___functions_html_gae6a11c1140ecb35f8fb1e0b69c902f9b"><div class="ttname"><a href="group___t_c_p___private___functions.html#gae6a11c1140ecb35f8fb1e0b69c902f9b">agile_modbus_tcp_prepare_response_tid</a></div><div class="ttdeci">static int agile_modbus_tcp_prepare_response_tid(const uint8_t *req, int *req_length)</div><div class="ttdoc">TCP ready response interface.</div><div class="ttdef"><b>Definition:</b> <a href="agile__modbus__tcp_8c_source.html#l00114">agile_modbus_tcp.c:114</a></div></div>
</div><!-- fragment -->
<p>TCP backend interface. </p>

<p class="definition">Definition at line <a class="el" href="agile__modbus__tcp_8c_source.html#l00186">186</a> of file <a class="el" href="agile__modbus__tcp_8c_source.html">agile_modbus_tcp.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
